using UnityEngine;
using System.Collections;

public class Suicide : MonoBehaviour 
{
	public float m_TTL = 5.0f;
	
	void Start () 
	{
		StartCoroutine(KillMe());
	}

	IEnumerator KillMe()
	{
		yield return new WaitForSeconds( m_TTL );
		Destroy(this.gameObject);
	}
}
